package com.qqbot.impl.service;

import com.qqbot.impl.utils.DataResult;
import com.qqbot.impl.vo.req.ApiRequest;

/**
 * WebApiService
 *
 * @author changwenpeng
 */
public interface WebApiService {

    /**
     * 启动接口
     *
     * @param apiRequest
     * @return
     * @throws Exception
     */
    DataResult start(ApiRequest apiRequest) throws Exception;

    /**
     * 启动接口
     *
     * @param apiRequest
     * @return
     * @throws Exception
     */
    DataResult stop(ApiRequest apiRequest) throws Exception;

    /**
     * @param apiRequest
     * @return
     * @throws Exception
     */
    DataResult refreshData(ApiRequest apiRequest);
}
